doctype html
html
  head
    title
    link(rel='stylesheet', href='/stylesheets/drawlots.css')
  body
    block content

      img(src="http://7xogoq.com1.z0.glb.clouddn.com/itbserver/api/img/draw/proc.gif" id="img_proc").img_proc.transparent
      div(onclick="onClickDraw()" id="drawDiv").btn_draw.transparent
        img(src="http://7xogoq.com1.z0.glb.clouddn.com/itbserver/api/img/draw/btn_draw.png" id="img_draw").img_draw.breath

      script(src='http://7xogoq.com1.z0.glb.clouddn.com/itbserver/api/js/jquery-1.11.0.min.js')
      script(src='http://7xogoq.com1.z0.glb.clouddn.com/itbserver/api/js/jweixin-1.0.0.js')
      script(type='text/javascript').
        var gAPIHOST = !{gInfo}.api_host;
        var Wechat = !{wechat};
        var gURL = Wechat.url;
        wx.config({
          debug: false,
          appId: Wechat.appId,
          timestamp: Wechat.timestamp,
          nonceStr: Wechat.nonceStr,
          signature: Wechat.signature,
          jsApiList: [
            'checkJsApi',
            'onMenuShareTimeline',
            'onMenuShareAppMessage'
          ]
        });
      script(src='/javascripts/drawlots.js')